package com.hx.voice.recognition.auth.client.configuration;

import com.hx.voice.recognition.auth.client.config.ServiceAuthConfig;
import com.hx.voice.recognition.auth.client.config.UserAuthConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @descripe：配置自动注入授权客户端 盐
 * @company：南京华讯方舟通讯设备有限公司
 * @author：zhoujinbing
 * @time：2019/6/10 15:57
 * @version：V1.0
 */
@Configuration
@ComponentScan("com.hx.voice.recognition.auth.client")
public class AutoConfiguration {

    @Bean
    ServiceAuthConfig getServiceAuthConfig()
    {
        return new ServiceAuthConfig();
    }

    @Bean
    UserAuthConfig getUserAuthConfig()
    {
        return new UserAuthConfig();
    }





}